class Map {
  constructor(el) {
    this.el = el
    this.width = 800
    this.height = 400
  }
  create() {
    this.el.style.width = this.width + 'px'
    this.el.style.height = this.height+ 'px'
    this.el.style.background = `url(./images/bg.png)`
    this.el.style.border = `10px solid red`
    this.el.style.position = 'relative'
  }
}